//计数器短信
var PageCounterSms = {
    id: "PageCounterSms", //页面id
    menu: "i18n.lan.menu.io", //所属菜单(一级菜单名)
    title: "i18n.lan.menu.PageCounterSms", //标题（二级菜单名）
    icon: "icon-me-sms", //图标
    refreshBtnCmd: "IOS_DUMPS", //刷新按钮指令
    saveBtn: true, //保存按钮
    el: [ //控件
        {
            elname: "datagrid",
            rowCount: Device.getNodesCount("di"),
            data: {
                width: 660,
                columns: [
                    [{
                            field: "index",
                            width: "40px",
                            align: "center",
                        },
                        {
                            field: "alarmSms",
                            editor: Easyui.editor.textbox,
                            dumpKey: "COUNTER<n>MSG",
                            dumpParamIndex: 0,
                            cmdKey: "COUNTER<n>MSG",
                            transcode: true,
                            otherFields: "recoverSms",
                            width: 300,
                        },
                        {
                            field: "recoverSms",
                            editor: Easyui.editor.textbox,
                            dumpKey: "COUNTER<n>MSG",
                            dumpParamIndex: 1,
                            transcode: true,
                            width: 300,
                        }
                    ]
                ],
            }
        },
    ],
}
CmdPage.add(PageCounterSms); //添加到页面管理